package com.haishuibutian.rocketmqconsumer.rocketmq;


import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class MQConfig {
    @Value("${mq.groupname}")
    private String groupName;
    @Value("${mq.namesrv}")
    private String nameSrv;
    @Value("${mq.producer.topic}")
    private String producerTopic;
    @Value("${mq.messageModel}")
    private String messageModel;
    @Value("${mq.consumeThreadMin}")
    private int consumeThreadMin;
    @Value("${mq.consumeThreadMax}")
    private int consumeThreadMax;
    @Value("${mq.batchMaxSize}")
    private int batchMaxSize;
    @Value("${mq.maxReConsumeTimes}")
    private int maxReConsumeTimes;

    @Value("${mq.tag.tongdun}")
    private String tongdunTag;
    @Value("${mq.tag.contactMoxieOriginal}")
    private String contactMoxieOriginal;
    @Value("${mq.tag.contactMoxieReport}")
    private String contactMoxieReport;
    @Value("${mq.tag.emergentContactMoxieReport}")
    private String emergentContactMoxieReport;
    @Value("${mq.tag.merchantConsumption}")
    private String merchantConsumption;

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public String getNameSrv() {
        return nameSrv;
    }

    public void setNameSrv(String nameSrv) {
        this.nameSrv = nameSrv;
    }

    public String getProducerTopic() {
        return producerTopic;
    }

    public void setProducerTopic(String producerTopic) {
        this.producerTopic = producerTopic;
    }

    public String getMessageModel() {
        return messageModel;
    }

    public void setMessageModel(String messageModel) {
        this.messageModel = messageModel;
    }

    public int getConsumeThreadMin() {
        return consumeThreadMin;
    }

    public void setConsumeThreadMin(int consumeThreadMin) {
        this.consumeThreadMin = consumeThreadMin;
    }

    public int getConsumeThreadMax() {
        return consumeThreadMax;
    }

    public void setConsumeThreadMax(int consumeThreadMax) {
        this.consumeThreadMax = consumeThreadMax;
    }

    public int getBatchMaxSize() {
        return batchMaxSize;
    }

    public void setBatchMaxSize(int batchMaxSize) {
        this.batchMaxSize = batchMaxSize;
    }

    public int getMaxReConsumeTimes() {
        return maxReConsumeTimes;
    }

    public void setMaxReConsumeTimes(int maxReConsumeTimes) {
        this.maxReConsumeTimes = maxReConsumeTimes;
    }

    public String getTongdunTag() {
        return tongdunTag;
    }

    public void setTongdunTag(String tongdunTag) {
        this.tongdunTag = tongdunTag;
    }

    public String getContactMoxieOriginal() {
        return contactMoxieOriginal;
    }

    public void setContactMoxieOriginal(String contactMoxieOriginal) {
        this.contactMoxieOriginal = contactMoxieOriginal;
    }

    public String getContactMoxieReport() {
        return contactMoxieReport;
    }

    public void setContactMoxieReport(String contactMoxieReport) {
        this.contactMoxieReport = contactMoxieReport;
    }

    public String getEmergentContactMoxieReport() {
        return emergentContactMoxieReport;
    }

    public void setEmergentContactMoxieReport(String emergentContactMoxieReport) {
        this.emergentContactMoxieReport = emergentContactMoxieReport;
    }

    public String getMerchantConsumption() {
        return merchantConsumption;
    }

    public void setMerchantConsumption(String merchantConsumption) {
        this.merchantConsumption = merchantConsumption;
    }
}
